package proxies.classes.activetransfers.events
{
	import flash.events.Event;
	
	public class ActiveTransfersListResponse extends ActiveTransfersResult
	{		
		private var items:Array = new Array();
		
		public function ActiveTransfersListResponse(activeTransfers:Array, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(LIST_EVENT, activeTransfers, bubbles, cancelable);
		}
		
		public function addActiveTransfersItems(_items:Array):void
		{
			for(var i:int=0; i < _items.length; i++){
				items.push(_items[i]);
			}
		}
		
		public function getActiveTransfersItems():Array
		{
			return this.body as Array;
		}
		
		public function getNumberOfActiveTransfers():int
		{
			return items.length;
		}
	}
}